package cn.iocoder.yudao.module.alipay.controller.admin.payrecord.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 支付记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PayRecordPageReqVO extends PageParam {

    @Schema(description = "处方销售单内码", example = "1863")
    private Long orderId;

    @Schema(description = "单据日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

    @Schema(description = "商家自定义订单号")
    private String outTradeNo;

    @Schema(description = "支付宝交易号")
    private String tradeNo;

    @Schema(description = "支付用户id", example = "16614")
    private String buyerId;

    @Schema(description = "来源小程序id", example = "31340")
    private String appId;

    @Schema(description = "交易金额")
    private BigDecimal totalAmount;

    @Schema(description = "交易类型", example = "2")
    private String recordType;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
